﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - Borðspil.is</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")

    </head>
    <body>

        @*<div class="content-wrapper">*@
      <header>
            @*Bootstrap*@
              <link href="~/Content/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
              <script src="~/Content/bootstrap/js/bootstrap.min.js"></script>
          <div class="banner"><a href="@Url.Action("Index", "Home")"><img src="http://i.imgur.com/POO7Ytn.png"/></a></div>
          <div class="content-wrapper">
                <div class="float-right">
                    <span id="login" style="float:right">
                        @Html.Partial("_LoginPartial")                   
                     </span>

                </div>
                <div class="float-left">
                    <nav>
                        <ul id="menu">
                            <li>@Html.ActionLink("Forsíða", "Index", "Home")</li>
                            <li>@Html.ActionLink("Leikjalisti", "Index", "Game")</li>
                            <li>@Html.ActionLink("Notendalisti", "UserList", "User")</li>
                            <li>@Html.ActionLink("Um Okkur", "About", "Home")</li>
                           @if (Request.IsAuthenticated){
                                <li style ="border: none">@Html.ActionLink("Stillingar", "Manage", "Account")</li>
                           }
                           
                        </ul>
                        
                    </nav>

                    
                </div>
                
            </div>
     </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
            
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - Borðspil.is</p>
                </div>

            </div>
        </footer>

        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
    </body>
</html>

